<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/28 0028
 * Time: 22:36
 */

namespace app\index\model;
use think\Model;

class UserInfo extends Model
{
    protected $autoWriteTimestamp = 'datetime';
    public function userinfo(){
        $this->belongsTo('User');
    }
}